<h2 class="title">设备转资</h2>
<form action="index.php?c=zy_mc_transfer&m=show&post=1" method=post name=frm>
<table class="tb_term" width="100%">
<tr>
	<td  class="tr_td_width01 alignright">转资单据编号</td>
	<td class="tr_td_width03"><input type=text class="input_select_stand txt-normal" name="transfer_from_no"  value='{%$transfer_from_no%}' onkeyup="value=value.replace(/[^\w\-\/]/ig,'')"></td>
	<td  class="tr_td_width02 alignright">转资合同编号</td>
	<td><input type=text class="input_select_stand txt-normal" name="contract_no" value='{%$contract_no%}' onkeyup="value=value.replace(/[^\w\-\/]/ig,'')"></td>
</tr>
<tr>	
	<td class="alignright">经办日期</td>
	<td colspan="3">
		<input type=text class="input_date_select txt-normal" name="transfer_time" id="transfer_time"  maxlength="12" value='{%$transfer_time|date_format:"%Y-%m-%d"%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "transfer_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
</table>
<p class="btn_right">
	<button type="submit" class="b-default"  hidefocus="true"><span><em>查询</em></span></button>
	<button class="b-default" hidefocus="true" onclick="javascript:location.href='index.php?c=zy_mc_transfer&m=add&contract_no={%$contract_no%}';return false;"><span><em>添加</em></span></button>
</p>
</form>

<h2 class="title">结果显示</h2>
<table class="tb_list" width="100%">
<tr class="title">
	<td class="list_td_zw_10">转资单据编号</td>
	<td class="list_td_zw_10">转资合同编号</td>
	<td class="list_td_zw_04">转资金额</td>
	<td class="list_td_zw_04">币种</td>
	<td class="list_td_zw_04">经办人</td>
	<td class="list_date">经办日期</td>
	<td>转资项目</td>
	<td class="list_td_zw_opt02">操作</td>
</tr>
{%foreach from=$arr item=arr_item%}
<tr>
	<td class="alignleft" title="{%$arr_item.transfer_from_no%}">{%$arr_item.transfer_from_no%}</td>
	<td class="alignleft" title="{%$arr_item.contract_no%}">{%$arr_item.contract_no%}</td>
	<td class="alignleft">{%$arr_item.transfer_price%}</td>
	<td>{%$price_type_arr[$arr_item.transfer_currency]%}</td>
	<td>{%$admin_info[$arr_item.admin_user_id]%}</td>	
	<td>{%$arr_item.transfer_time|date_format:"%Y-%m-%d"%}</td>
	<td class="alignleft">{%$project_arr[$arr_item.project_id]%}</td>
	<td>
		<a href='index.php?c=zy_mc_transfer&m=browse&transfer_id={%$arr_item.transfer_id%}' hidefocus="true">详细</a>&nbsp;
		<a href='index.php?c=zy_mc_transfer&m=edit&transfer_id={%$arr_item.transfer_id%}' hidefocus="true">修改</a>
		<!--
		<a href='index.php?c=zy_mc_transfer&m=del&transfer_id={%$arr_item.transfer_id%}' hidefocus="true" onclick="return confirm('您确认删除吗?')">删除</a>		
		<a href='index.php?c=zy_mc_transfer_log&m=add&transfer_id={%$arr_item.transfer_id%}&contract_no={%$arr_item.contract_no%}'>转资</a>&nbsp;&nbsp;				
		-->
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="8">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $arr_item%}
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
{%/if%}